#pragma once


// COperatorListCtrl

class COperatorListCtrl : public CListCtrl
{
	DECLARE_DYNAMIC(COperatorListCtrl)

public:
	COperatorListCtrl();
	virtual ~COperatorListCtrl();

public:
	void Init2();

	void Populate(z_uint32 nCheckItemCode, BOOL isShowAll/*=FALSE*/);

	void Populate(ck::Module* pModule);
	void Populate(ck::Module* pModule, z_uint32 nCheckItemCode, BOOL bShowAll);

protected:
	void Populate(ck::Operator* pOperator, BOOL checked=FALSE);


protected:
	DECLARE_MESSAGE_MAP()
public:
	afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
	afx_msg void OnSize(UINT nType, int cx, int cy);
};


